const HMMM='heima-mm'

function saveToken(obj){
    localStorage.setItem(HMMM,JSON.stringify(obj))
}

function getToken(){
   return JSON.parse( localStorage.getItem(HMMM))
}

function removeToken(){
localStorage.removeItem(HMMM)
}

export {saveToken,getToken,removeToken}